<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
  <title>Bugs: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold' %>
  <%= stylesheet_link_tag 'bugmanager' %>
  <%= javascript_include_tag :defaults %>
  <%= @content_for_page_specific_styles %>
</head>
<body>
<%= calendar_date_select_includes %>



<div id="layout">

  <div style="margin:0px;padding:0px; position: relative;">
    <div style="background-color: #333333; height: 100px;">
      <div style="float:right; color: #ffffff; padding: 10px; font-size:12pt;">
        <div style="text-align: right; padding-bottom: 5px;"><img src="/images/icons/<%= session[:user].member_type %>.png" height="50"/></div>
        <div>Welcome <strong><%= h session[:user].nickname %>!</strong></div>
      </div>
      <div style="font-size: 25pt; font-weight: bold; color: #cccccc; padding:40px;">{Bug Manager}</div>
    </div>
    <div style="background-color: #666666; height: 40px; color:#ffffff;position:relative;">
      <div style="position:absolute; bottom: 2px;">
                <span class="user_action">
                  <%= link_to 'Dashboard', :controller => "releases", :action => :taskboard %>
                </span>
                <span class="user_action">
                  <%= link_to 'Defects and CRs', bugs_path %>
                </span>
                <span class="user_action">
                  <%= link_to 'Releases', releases_path %>
                </span>
                <span class="user_action">
                  <%= link_to 'Report', :controller => "releases", :action => :report %>
                </span>
                <span class="user_action">
                  <%= link_to 'Members', members_path %>
                </span>
                <span class="user_action">
                  <%= link_to 'Change user', url_for(:controller=>"login", :action=>"login") %>
                </span>
      </div>

    </div>
    <div style="background-color: #fffff0; width: 100%; border: 1px solid white">
      <div>
        <p class="error"><%= flash[:error] %></p>
        <p class="notice"><%= flash[:notice] %></p>
        
        <%= yield %>
      </div>
      <br style="clear:both; font-size:1px;"/>
    </div>

    <div style="background-color: #000000; height: 30px;color: #ffffff; padding: 2px; text-align: right;">
      Powered by <a href="http://tinyurl.com/bugsonrails" style="color:white;">BugsOnRails - An Open Source Project</a>
    </div>

  </div>

</div>
</body>
</html>

